
using System;
using System.Drawing;

using MonoTouch.Foundation;
using MonoTouch.UIKit;
using bjeschool_csharp.Model;

namespace bjeschool
{
	public partial class StudentListCell : CommonCell<M_Student>
	{
		public StudentListCell () //: base ("StudentListCell", null)
		{
			NSBundle.MainBundle.LoadNib("StudentListCell", this, null);
		}
		
		public override void SetData (M_Student item)
		{
			
			Name.Text = item.Name;
			SchoolClass.Text = item.SchoolClass;
			School.Text = item.School;
			
		}
		
		[Outlet("CellView")]
		public override UITableViewCell CellView { get; set; }
		[Outlet("Name")]
		public UILabel Name { get; set; }
		[Outlet("SchoolClass")]
		public UILabel SchoolClass {get;set;}
		[Outlet("School")]
		public UILabel School {get;set;}
	}
}

